package com.download.web.pay;

import com.blade.ioc.annotation.Bean;

/**
 * 配置项 Service
 *
 * @author biezhi
 * @date 2018/9/30
 */
@Bean
public class OptionService {


/*
    public void updateOptions(Map<String, String> options) {
        if (null == options || options.isEmpty()) {
            return;
        }
        Set<Map.Entry<String, String>> entrySet = options.entrySet();
        for (Map.Entry<String, String> entry : entrySet) {
            this.update(entry.getKey(), entry.getValue());
        }
    }*/

    /*public void save(String key, String value) {
        Option option = new Option();
        option.setKey(key);
        option.setValue(value);
        option.save();
    }

    public void update(String key, String value) {
        Option option = new Option();
        option.setKey(key);
        option.setValue(value);
        option.update();
    }*/

}
